<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
	"http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<title>phc -- Downloads</title>
		<link rel="stylesheet" type="text/css" href="phc.css">
	</head>
	<body>
		<table width="100%" cellpadding="0" cellspacing="0">
		<tr>
			<td class=grey><img src="img/header.png" alt="phc logo"></td>
		</tr>
		<tr>
			<td class=linkbar>
				<a href="index.html">Home</a> | 
				<a href="downloads.html">Download <span class=phc>phc</span></a> | 
				<a href="documentation.html">Documentation</a> | 
				<a href="contribute.html">Developers and Contributors</a> |
				<a href="mailinglist.html">Mailing List</a> |
			</td>
		</tr>
		</table>
		<table class=maintable>
		<tr>
			<td>
				<h1>Downloads</h1>

				<h2>Source</h2>
				<p>
					The latest <span class="phc">phc</span> version is 
					<a href="src/archive/phc-0.3.0.1.tar.gz">phc-0.3.0.1.tar.gz</a>
					(gzip compressed) or 
					<a href="src/archive/phc-0.3.0.1.tar.bz2">phc-0.3.0.1.tar.bz2</a>
					(bzip2 compressed). Check the 
					<a href="doc/phc-0.3.0/install.html">Installation Instructions</a>
					for system requirements.

					For a history of the changes, see 
					<a href="src/ChangeLog">ChangeLog</a>.
				
					Older versions can be found in the 
					<a href="src/archive/">archive</a>, though they are unsupported.
				</p>

				<h2>Documentation</h2>

				Please see <a href="documentation.html">Documentation</a> for documentation downloads.

				<h2>Packages</h2>

				<p>While we do not provide any binaries or packages of <span
				class="phc">phc</span>, several people have contributed packages for
				their OSes.</p>

				<p>Dries Verachtert has <a
				href="http://dag.wieers.com/rpm/packages/phc/">RPMs</a> for <span
				class="phc">phc</span> in DAG RPM repositories. x86_64, i386 and
				source RPMs are all supported.</p>

				<p>Conor McDermottroe has created a <a
				href="http://www.freebsd.org/cgi/cvsweb.cgi/ports/lang/phc/">port</a>
				for the FreeBSD ports collection.</p>

				<p>If your OS isn't here, you might be interested in more
				information on how <a href="doc/latest/porting.html">to port and
				package <span class="phc">phc</span></a>. </p>

				<h2><a name="repository">SVN Repository</a></h2>

				<p>Our latest work is available in <a
				href="http://code.google.com/p/phc/source/checkout">our SVN
				repository</a>. Follow the instructions on the front page to do an
				anonymous checkout. It is also possible to <a
				href="http://code.google.com/p/phc/source/browse/trunk">browse the
				repository</a> online. To build <span class="phc">phc</span>,
				follow the <a href="doc/latest/install.html">installation
				instructions</a>.</p>



				<h2>Legalities</h2>
				<span class=phc>phc</span> is an open source project, but we
				intend for it to be freely used in any project (including
				commercial projects). Please contact us if licencing issues prevent
				your use of <span class=phc>phc</span>.
	

				<p> <span class="phc">phc</span> is released under the <a
				href="src/LICENSE">BSD license</a>. It makes use of the Zend
				Engine, which is freely available from <a
				href="http://www.zend.com">www.zend.com</a> and comes with its <a
				href="http://www.zend.com/license/2_00.txt">own license</a>. More
				detailed information on licensing issues, see the directory
				<tt>license/</tt> in the source distribution.


				<!-- TODO: This probably isnt the best place to list these. -->
				<h1><a name=spinoffs>Projects using phc</a></h1>

				<h2>PHT</h2>
					<p>Written by Daniel Barreiro, <tt>PHT</tt> embeds HTML/XML into
					PHP to ensure that the XML or HTML output by PHP scripts is
					well-formed and (although this has not yet been implemented)
					valid. Details and source can be found at <a
					href="http://www.satyam.com.ar/pht/">http://www.satyam.com.ar/pht/</a>.</p>

				<h2>Plumhead</h2>

					Plumhead is written by Bernhard Schmalhofer and attempts to
					implement PHP on Parrot by taking the XML output from <span
					class="phc">phc</span> and transforming it (using XSLT) to the
					Parrot internal representation. See <a
					href="http://www.perlfoundation.org/parrot/index.cgi?plumhead">http://www.perlfoundation.org/parrot/index.cgi?plumhead</a>
					for more information.


				<h2>Rose</h2>

					Rose is source-to-source compiler infrastructure supporting C,
					C++, Fortran, and now, PHP. <span class="phc">phc</span> parses
					PHP source code into an AST, which is then folded into the Rose
					AST. It is intended that standard Rose static analyses can then
					be applied to PHP. Rose was developed by Dan Quinlan at Lawrence
					Livermore National Laboratories, and <span class="phc">phc</span>
					was integrated with it by Ryan Stutsman. It is available from <a
					href="http://rosecompiler.org">http://rosecompiler.org</a> (see
					"Enabling PHP Support" in the <a
					href="http://rosecompiler.org/ROSE_UserManual/ROSE-UserManual.pdf">Rose
					User Manual</a> for instructions).

			
			</td>
		</tr>
		</table>
		<table class=linkbar>
			<tr><td>$LastChangedDate: 2011-10-23 10:21:20 +0000 (Sun, 23 Oct 2011) $.</td></tr>
		</table>
		<script type="text/javascript">
		var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
		document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
		</script>
		<script type="text/javascript">
			var pageTracker = _gat._getTracker("UA-1942036-1");
			pageTracker._trackPageview();
		</script>
	</body>
</html>
